import { createRouter, createWebHistory } from "vue-router";
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      redirect: "/register",
    },
    {
      path:"/register",
      component:()=>import("../view/register.vue")
    },
    {
      path:"/login",
      component:()=>import("../view/Login.vue")
    },
    {
      path:"/UserLoginList",
      component:()=>import("../view/UserLoginList.vue")
    },
    {
      path:"/FinInfoAdd",
      component:()=>import("../view/FinInfoAdd.vue")
    },
    {
      path:"/FinList",
      component:()=>import("../view/FinList.vue")
    },
    {
      path:"/BorrowInfo",
      component:()=>import("../view/BorrowInfo.vue")
    },
    {
      path:"/adminBorrowInfo",
      component:()=>import("../view/slotadminBorrow.vue")
    },
    {
      path:"/BorrowLogin",
      component:()=>import("../view/BorrowLogin.vue")
    },
    {
      path:"/Borrowadd",
      component:()=>import("../view/Borrowadd.vue")
    },
  ],
});
export default router
